package org.mechanic.core.web;

import org.apache.commons.lang3.StringUtils;

import java.io.Serializable;

public class HttpStatusCode1 implements Serializable {

    private static final long serialVersionUID = -3831880461596805413L;
    /**
     * 200请求成功
     */
    public static String OK = "200";
    /**
     * 用户或密码错误
     */
    public static String ACCOUNT_PASSWORD_ERROR = "30000";
    /**
     * 身份未认证
     */
    public static String UNAUTHORIZED = "30001";
    /**
     * 未登录
     */
    public static String LOGIN_FAIL = "30002";
    /**
     * 权限不足
     */
    public static String FORBIDDEN = "30003";
    /**
     * 频繁操作
     */
    public static String MULTI_STATUS = "30004";
    /**
     * 参数不能为空
     */
    public static String PARAM_NOT_NULL = "30010";
    /**
     * 参数格式不正确
     */
    public static String PARAM_NOT_FORMAT = "30011";
    /**
     * 非法参数
     */
    public static String PARAM_ILLEGAL = "30012";
    /**
     * 数据解析有误
     */
    public static String DATA_PARSE = "30013";
    /**
     * 参数值太小
     */
    public static String PARAM_MIN_VALUE = "30014";
    /**
     * 参数值太大
     */
    public static String PARAM_MAX_VALUE = "30015";
    /**
     * 参数长度过少
     */
    public static String PARAM_MIN_LENGTH = "30016";
    /**
     * 参数长度过长
     */
    public static String PARAM_MAX_LENGTH = "30017";
    /**
     * 无效用户
     */
    public static String USER_INVALID = "30020";
    /**
     * 用户状态错误
     */
    public static String USER_LOCKED = "30021";
    /**
     * 500服务器出错
     */
    public static String INTERNAL_SERVER_ERROR = "500";
    /**
     * 自定义错误编码
     */
    public static String DEFINE_ERROR = "500";
    /**
     * 没有客服
     */
    public static String NON_KFUSER = "60001";

}